<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>记录 - 我的博客</title>
    <link rel="stylesheet" href="assets/css/colors.css">
    <link rel="stylesheet" href="assets/css/nav.css">
    <link rel="stylesheet" href="assets/css/layout.css">
    <link rel="stylesheet" href="assets/css/styles.css">
    <link rel="stylesheet" href="assets/css/pages/record.css">
</head>
<body>
    <header>
        <nav>
            <a href="index.html" class="logo">我的博客</a>
            <div class="nav-container">
                <ul class="nav-links">
                    <li class="nav-dropdown">
                        <a href="index.html">首页</a>
                        <div class="dropdown-content">
                            <a href="start.html">起始页</a>
                            <a href="column.html">专栏</a>
                        </div>
                    </li>
                    <li class="nav-dropdown">
                        <a href="record.html" class="active">记录</a>
                        <div class="dropdown-content">
                            <a href="record.html">生活倒影</a>
                            <a href="study.html">学习</a>
                        </div>
                    </li>
                    <li class="nav-dropdown">
                        <a href="album.html">相册</a>
                        <div class="dropdown-content">
                            <a href="album_2024.html">2024</a>
                            <a href="album_2023.html">2023</a>
                            <a href="album_2022.html">2022</a>
                            <a href="album_2021.html">2021</a>
                        </div>
                    </li>
                    <li><a href="message.html">留言</a></li>
                </ul>
                <div class="nav-auth">
                    <a href="auth.html" class="login-btn">登录</a>
                    <div class="auth-divider"></div>
                    <a href="admin.html" class="admin-btn">管理</a>
                </div>
            </div>
        </nav>
    </header>

    <!-- 添加图片 -->
    <div class="header-image">
        <img src="assets/images/start.png" alt="Header Image" style="width: 100%; height: auto;">
    </div>

    <main class="record-container" style="padding-top: 20px;">
        <section class="record-header">
            <h1>生活倒影</h1>
            <p class="subtitle">记录生活中的点点滴滴</p>
        </section>

        <section class="record-content">
            <div class="timeline" id="timeline">
                <!-- 动态加载时间线项目 -->
                <article class="timeline-item">
                    <div class="timeline-date">
                        <span class="date">12月21日</span>
                        <span class="year">2023</span>
                    </div>
                    <div class="timeline-card">
                        <div class="card-header">
                            <h3>冬至</h3>
                            <span class="time">14:30</span>
                        </div>
                        <div class="card-content">
                            <p>今天是冬至，按照传统习俗吃饺子。窗外飘着小雪，整个世界都安静下来了。</p>
                            <figure class="card-image">
                                <img src="assets/images/winter.jpg" alt="冬至的场景" loading="lazy">
                            </figure>
                            <footer class="card-footer">
                                <div class="tags">
                                    <span class="tag">生活</span>
                                    <span class="tag">节气</span>
                                </div>
                                <div class="interactions">
                                    <button class="like-btn" aria-label="点赞" data-index="0">
                                        <svg viewBox="0 0 24 24" class="like-icon">
                                            <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
                                        </svg>
                                        <span>23</span>
                                    </button>
                                    <button class="comment-btn" aria-label="评论" data-index="0">
                                        <svg viewBox="0 0 24 24">
                                            <path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"/>
                                        </svg>
                                        <span>12</span>
                                    </button>
                                </div>
                            </footer>
                        </div>
                    </div>
                </article>
                <!-- 其他时间线项目 -->
            </div>
        </section>
    </main>

    <footer>
        <div class="footer-content">
            <div class="footer-section">
                <h4>关于博主</h4>
                <p>一个热爱分享的博主，专注于技术与生活。</p>
            </div>
            <div class="footer-section">
                <h4>联系方式</h4>
                <p>Email: example@email.com</p>
            </div>
        </div>
        <div class="footer-bottom">
            <p>&copy; 2024 我的博客. 保留所有权。</p>
        </div>
    </footer>

    <script src="assets/js/nav.js"></script>
    <script src="assets/js/record.js"></script>
</body>
</html> 